package com.yj.ccs.abs.web.management.dto;

import com.yj.ccs.abs.common.enums.CompanyNatureType;
import com.yj.ccs.abs.common.enums.ParentCompanyType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/16
 * Author     : Unbelievable9
 **/
@Data
public class CreateParentDto {

    @NotNull(message = "母公司名称不能为空")
    @ApiModelProperty(value = "母公司名称", required = true)
    private String name;

    @ApiModelProperty(value = "企业性质(终极母公司不需要)<br>1-国企<br>2-民企<br>3-国企(上市)<br>4-民企(上市)", example = "1")
    private CompanyNatureType nature;

    @NotNull(message = "母公司类型不能为空")
    @ApiModelProperty(value = "母公司类型<br>1-母公司<br>2-终极母公司", example = "PARENT")
    private ParentCompanyType type;
}
